package cn.zhizihua.mapper;

import cn.zhizihua.pojo.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper extends BaseMapper<Address>,PageMapper<Address>{

    //通过用户编号查询该用户的所有地址
    List<Address> getByUserId(Integer userId);

}
